#ifndef __CONTROL_H
#define __CONTROL_H

#include "headerfile.h"
#include "main.h"

#define ID 'E'

extern u8 uart1_rx_buffer[16];
extern u8 uart1_rx_count;
extern int cmd_speed;
extern int low_speed;

extern u16 re_angle;

extern u8 uart1_rx_count;
extern u8 uart1_tx_count;
extern char updata_info[34];

void Manage_Command(void);
void Inform_Updata(float speed, float volt);

#endif

